MaterialDesign\Plugin\Helpers S

Total Complexity 32
Dependencies 1
Dependents 10
Total lines 258
Lines of code 126
Logical lines of code 60
Comment lines 99
Methods 13
Properties 0

Methods 13

Method Rating Maintainability Complexity Lines of code
hex_to_rgb()
S
61 6 11
get_block_by_name()
S
59 5 15
sanitize_js_generated_colors()
S
54 3 24
get_page_by_title()
S
61 3 14
rgb_to_hex()
S
60 3 12
is_current_user_admin_or_editor_with_manage_options()
S
71 3 6
mix_colors()
S
57 2 15
get_block_from_referer()
S
65 2 9
get_block_count_from_post()
S
72 1 5
rgb_to_rgb_string()
S
69 1 6
hexdec()
S
78 1 3
dechex()
S
77 1 3
sanitize_control_id()
S
77 1 3